<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>测试音乐</title>

        <!-- <embed src="../audios/welcom.mp3" width=170 height=25 loop="true" autostart="true"> -->
</head>

<body>
    <script>
var audio = document.createElement("audio");
audio.src = "../audios/welcom.mp3";
audio.play();

    </script>
</body>



</html>